export class hello{
    public  name:string;
    constructor(name:string){
        this.name=name
    }
    say(){
        return "hello"+this.name;
    }
}
var p=new hello("xiaoming");
console.log(p.say());